import { axios } from '@/utils/request'

export function StoreCopyList(params) {
  return axios({
    url: '/store/store-copy-list',
    method: 'get',
    params,
  })
}

export function templateList(params) {
  return axios({
    url: '/store/template-list',
    method: 'post',
    params,
  })
}

export function templateAdd(data) {
  return axios({
    url: '/store/template-add',
    method: 'post',
    data,
  })
}

export function templateDel(data) {
  return axios({
    url: '/store/template-del',
    method: 'post',
    data,
  })
}

export function templateStatus(data) {
  return axios({
    url: '/store/template-status',
    method: 'post',
    data,
  })
}

export function templateDefaultInfo() {
  return axios({
    url: '/store/template-default-info',
    method: 'post'
  })
}

export function templateDefaultSave(data) {
  return axios({
    url: '/store/template-default-save',
    method: 'post',
    data,
  })
}

export function storeInit(data) {
  return axios({
    url: '/store/store-init',
    method: 'post',
    data,
  })
}

export function getQr(data) {
  return axios({
    url: '/store/get-qr',
    method: 'post',
    data,
  })
}

export function storeCopy(data) {
  return axios({
    url: '/store/store-copy',
    method: 'post',
    data,
  })
}